{"ast":null,"code":"import { initSlideMotion } from '../../style/motion';\nconst genMotionStyle = token => {\n  const {\n    componentCls,\n    motionDurationSlow\n  } = token;\n  return [{\n    [componentCls]: {\n      [`${componentCls}-switch`]: {\n        '&-appear, &-enter': {\n          transition: 'none',\n          '&-start': {\n            opacity: 0\n          },\n          '&-active': {\n            opacity: 1,\n            transition: `opacity ${motionDurationSlow}`\n          }\n        },\n        '&-leave': {\n          position: 'absolute',\n          transition: 'none',\n          inset: 0,\n          '&-start': {\n            opacity: 1\n          },\n          '&-active': {\n            opacity: 0,\n            transition: `opacity ${motionDurationSlow}`\n          }\n        }\n      }\n    }\n  },\n  // Follow code may reuse in other components\n  [initSlideMotion(token, 'slide-up'), initSlideMotion(token, 'slide-down')]];\n};\nexport default genMotionStyle;","map":{"version":3,"names":["initSlideMotion","genMotionStyle","token","componentCls","motionDurationSlow","transition","opacity","position","inset"],"sources":["/data/messenger.client/node_modules/antd/es/tabs/style/motion.js"],"sourcesContent":["import { initSlideMotion } from '../../style/motion';\nconst genMotionStyle = token => {\n  const {\n    componentCls,\n    motionDurationSlow\n  } = token;\n  return [{\n    [componentCls]: {\n      [`${componentCls}-switch`]: {\n        '&-appear, &-enter': {\n          transition: 'none',\n          '&-start': {\n            opacity: 0\n          },\n          '&-active': {\n            opacity: 1,\n            transition: `opacity ${motionDurationSlow}`\n          }\n        },\n        '&-leave': {\n          position: 'absolute',\n          transition: 'none',\n          inset: 0,\n          '&-start': {\n            opacity: 1\n          },\n          '&-active': {\n            opacity: 0,\n            transition: `opacity ${motionDurationSlow}`\n          }\n        }\n      }\n    }\n  },\n  // Follow code may reuse in other components\n  [initSlideMotion(token, 'slide-up'), initSlideMotion(token, 'slide-down')]];\n};\nexport default genMotionStyle;"],"mappings":"AAAA,SAASA,eAAe,QAAQ,oBAAoB;AACpD,MAAMC,cAAc,GAAGC,KAAK,IAAI;EAC9B,MAAM;IACJC,YAAY;IACZC;EACF,CAAC,GAAGF,KAAK;EACT,OAAO,CAAC;IACN,CAACC,YAAY,GAAG;MACd,CAAE,GAAEA,YAAa,SAAQ,GAAG;QAC1B,mBAAmB,EAAE;UACnBE,UAAU,EAAE,MAAM;UAClB,SAAS,EAAE;YACTC,OAAO,EAAE;UACX,CAAC;UACD,UAAU,EAAE;YACVA,OAAO,EAAE,CAAC;YACVD,UAAU,EAAG,WAAUD,kBAAmB;UAC5C;QACF,CAAC;QACD,SAAS,EAAE;UACTG,QAAQ,EAAE,UAAU;UACpBF,UAAU,EAAE,MAAM;UAClBG,KAAK,EAAE,CAAC;UACR,SAAS,EAAE;YACTF,OAAO,EAAE;UACX,CAAC;UACD,UAAU,EAAE;YACVA,OAAO,EAAE,CAAC;YACVD,UAAU,EAAG,WAAUD,kBAAmB;UAC5C;QACF;MACF;IACF;EACF,CAAC;EACD;EACA,CAACJ,eAAe,CAACE,KAAK,EAAE,UAAU,CAAC,EAAEF,eAAe,CAACE,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC;AAC7E,CAAC;AACD,eAAeD,cAAc"},"metadata":{},"sourceType":"module"}